import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { UserlistComponent } from './manage/userlist/userlist.component';
const routes: Routes = [
    { path: '', redirectTo: 'manage/userlist', pathMatch: 'full' },
    { path: 'manage/userlist', component: UserlistComponent }
];

@NgModule({
    imports: [CommonModule, RouterModule.forRoot(routes, { useHash: true })],
    exports: [RouterModule]
})
export class AppRoutingModule { }
